﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PMS.Models.Work
{
    ///<summary>
    ///学生信息扩展表的实体类
    ///</summary>
    [Serializable]
    [Table("StudentExtend")]
    public class StudentExtend
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }
        /// <summary>
        /// 学生表主键,当前表外键
        /// </summary>
        [Column("StudentId")]
        public int StudentId { get; set; }
        /// <summary>
        /// 监护人姓名
        /// </summary>
        [Column("Guardian")]
        public string Guardian { get; set; }
        /// <summary>
        /// 监护人电话
        /// </summary>
        [Column("GuardianPhone")]
        public string GuardianPhone { get; set; }
        /// <summary>
        /// 工作单位
        /// </summary>
        [Column("WorkUnit")]
        public string WorkUnit { get; set; }
        /// <summary>
        /// contactAddress
        /// </summary>
        [Column("ContactAddress")]
        public string ContactAddress { get; set; }
        /// <summary>
        /// 初中毕业院校名称
        /// </summary>
        [Column("GraduationSchool")]
        public string GraduationSchool { get; set; }
        /// <summary>
        /// 入学成绩
        /// </summary>
        [Column("EnterSchoolScore")]
        public int EnterSchoolScore { get; set; }
        /// <summary>
        /// 入学日期
        /// </summary>
        [Column("EnterSchoolDate")]
        public System.DateTime EnterSchoolDate { get; set; }
        /// <summary>
        /// 政治面貌
        /// </summary>
        [Column("PoliticalFace")]
        public string PoliticalFace { get; set; }
        /// <summary>
        /// 删除标识1表示删除0表示未删除
        /// </summary>
        [Column("IsDel")]
        public int IsDel { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [Column("CreateBy")]
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateDate")]
        public System.DateTime CreateDate { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        [Column("ModifyBy")]
        public int ModifyBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Column("ModifyDate")]
        public System.DateTime ModifyDate { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        [Column("DeleteBy")]
        public int DeleteBy { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("DeleteDate")]
        public System.DateTime DeleteDate { get; set; }
    }
}